import request from '@/utils/clientRequest.js'
let host = '/academy'
//生涯
export const getReportList =(userType) => {
  return request.post(host+'/career/getReportList?userType='+userType)
}
export const getEvaluation =(userType) => {
  return request.post(host+'/career/getEvaluation?userType='+userType)
}
export const saveSingle =(obj) => {
  return request.post(host+'/career/saveSingle',obj)
}
export const getResult =(obj) => {
  return request.post(host+'/career/getResult',obj)
}
export const saveMultiple =(obj) => {
  return request.post(host+'/career/saveMultiple',obj)
}
export const getReportDetails =(id) => {
  return request.post(host+'/career/getReportDetails?id='+id)
}
export const getReport =(type,userType) => {
  return request.post(host+'/career/getReport?type='+type+'&userType=' +userType)
}
let collegeHost='/career'
export const getProfessionalList =(name) => {
  return request.post(collegeHost+'/career/getProfessionalList',{name})
}
export const getProfessionalDetails =(name) => {
  return request.post(collegeHost+'/career/getProfessionalDetails',{name})
}

